package com.wqr.service;

import java.util.List;

import com.wqr.pojo.User;

public interface UserService {
	public int insertUser(User user) throws Exception;

	public List<User> selectUser(User user) throws Exception;
	
	public List<User> selectUserByDIY(User user) throws Exception;
	
	public User selectUserByLoginId(Integer loginId) throws Exception;
	
	public List<User> list(User user) throws Exception;
	
	public List<User> listAll() throws Exception;

	public int delectUser(Integer userId) throws Exception;
	
	public int updateUser(User user) throws Exception;

	public User selectByPrimaryKey(Integer userId) throws Exception;
}
